package com.app.mapper;

import com.app.model.ActivityEnlistModel;
import com.app.model.GoodsExchangeModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsExchangeMapper extends BaseMapper<GoodsExchangeModel> {
    List<GoodsExchangeModel> selectOrderList(Integer page, Integer limit, Integer goodsId);

    Integer Count(Integer goodsId);

    List<GoodsExchangeModel> getConsumption(Integer villageId);
}
